import { defHttp } from '/@/utils/http/axios';
enum Api {
  STATISTIC_Num = '/statistics',
  TREND = '/trend',
  MONTH = '/month',
}
export const getStatisticMonth = () => defHttp.get({ url: Api.STATISTIC_Num + Api.MONTH });
export const getStatistics = () => defHttp.get({ url: Api.STATISTIC_Num + Api.TREND });

export const getStatisticsNum = () => defHttp.get({ url: Api.STATISTIC_Num });
